//
//  InspectionLineCell.m
//  ZZmetro
//
//  Created by 一介布衣 on 2020/7/2.
//  Copyright © 2020 一介布衣. All rights reserved.
//

#import "InspectionLineCell.h"
@interface InspectionLineCell()

@property (weak, nonatomic) IBOutlet UILabel *lineNameLabel;

@end


@implementation InspectionLineCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
    self.selectionStyle = UITableViewCellSelectionStyleNone;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    
    if (selected) {
        _lineNameLabel.textColor = HEXCOLOR(0X5B67AB);
    } else {
        _lineNameLabel.textColor = HEXCOLOR(0X333333);
    }
}

-(void) setLineName:(NSString *) name {
    _lineNameLabel.text = name;
}

@end
